import React from "react";
import style from './Home.module.less'
import {useHistory} from "react-router-dom";

export default function Home(){
    const history = useHistory()

    const handleLocalClick = () => {
        history.push('./localHome')
    }


    return (
        <div className={style.container}>
            <span className={style.flag}>「   超越所见   」</span>

            <div className={style.localButton} onClick={handleLocalClick}>
                <div className="local">
                    进入
                </div>
            </div>

        </div>
    )
}